package com.psp.web.controller.springmvc.req;


import javax.validation.constraints.Pattern;

/**
 * 地址保存
 **/
public class GetAddressSaveParam {
	private String aid; // 地址id，为空表示新增，不为空表示修改
	private String addressee; // 收件人 
	private String phone; // 收件人手机号 
	private String pcds; // 省、市、区县id字符串：['省id','市id','区县id']
	private String detail; // 详细地址 
	@Pattern(regexp = "^1|2$", message = "地址类型：1收货地址，2发票管理")
	private String type; // 地址类型：1收货地址，2发票管理

	public void setAid(String aid) {
 		this.aid = aid;
	}

	public String getAid() {
 		return aid;
	}

	public void setAddressee(String addressee) {
 		this.addressee = addressee;
	}

	public String getAddressee() {
 		return addressee;
	}

	public void setPhone(String phone) {
 		this.phone = phone;
	}

	public String getPhone() {
 		return phone;
	}

	public void setPcds(String pcds) {
 		this.pcds = pcds;
	}

	public String getPcds() {
 		return pcds;
	}

	public void setDetail(String detail) {
 		this.detail = detail;
	}

	public String getDetail() {
 		return detail;
	}

	public void setType(String type) {
 		this.type = type;
	}

	public String getType() {
 		return type;
	}

}
